<template>
  <el-container>
    <el-header style="padding: 0 0">
      <el-menu
          router
          default-active="/"
          mode="horizontal"
          background-color="#ffffff00"
      >
        <el-link href="/" style="padding: 16px; color: white; font-size: larger">Java错误检测与修复系统</el-link>
        <el-menu-item index="/" style="color: white">首页</el-menu-item>
        <el-menu-item index="/history" style="color: white">历史记录</el-menu-item>
      </el-menu>
    </el-header>
    <RouterView/>
  </el-container>
</template>

<script lang="ts" setup>
</script>

<style scoped lang="sass">
.el-menu--horizontal.el-menu
  border-bottom: #000000ff
</style>
